package com.example.demo.dao;

import com.example.demo.model.entity.AreaModel;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AreaRepository extends JpaRepository<AreaModel, String>, JpaSpecificationExecutor<AreaModel> {

    List<AreaModel> findByAreaCode(String areaCode);
}
